package com.yuan.service;

import com.yuan.api.ITestService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestServiceImpl implements ITestService{

    private static final Logger logger = LoggerFactory.getLogger(TestServiceImpl.class);

    @Override
    public String test(String name) {
        logger.info("调用到service");
        return "this is test";
    }
}
